import request from '@/utils/request'

// 查询商城-订单退款列表
export function listRefund(query) {
  return request({
    url: '/mall/refund/list',
    method: 'get',
    params: query
  })
}

// 查询商城-订单退款详细
export function getRefund(id) {
  return request({
    url: '/mall/refund/' + id,
    method: 'get'
  })
}

// 查询商城-订单退款审核
export function checkRefund(data) {
  return request({
    url: '/mall/refund/check',
    method: 'post',
    params: data
  })
}
